using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace ViCode_LeVi.Controls.Reports
{
    public partial class XtraReport1 : DevExpress.XtraReports.UI.XtraReport
    {
        private DevExpress.XtraReports.UI.XRSubreport xrSubreport1;
        private PotentialPortfolioChartSubReport potentialPortfolioChartSubReport1;
        public XtraReport1()
        {
            InitializeComponent();
            int n=0;

            this.xrSubreport1 = new DevExpress.XtraReports.UI.XRSubreport();
            // 
            // xrSubreport1
            // 
            this.xrSubreport1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrSubreport1.Name = "xrSubreport1";
            this.xrSubreport1.SizeF = new System.Drawing.SizeF(100F, 23F);
            this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrSubreport1});

            this.potentialPortfolioChartSubReport1 = new ViCode_LeVi.Controls.Reports.PotentialPortfolioChartSubReport();
            //((System.ComponentModel.ISupportInitialize)(this.potentialPortfolioChartSubReport1)).BeginInit();
            potentialPortfolioChartSubReport1.CreateReport(null, ref n);           
            this.xrSubreport1.ReportSource = this.potentialPortfolioChartSubReport1;
            //((System.ComponentModel.ISupportInitialize)(this.potentialPortfolioChartSubReport1)).EndInit();
            
        }

    }
}
